package com.yj.apiback.constant;

/**
 * @desc:  常量
 * @author: liuhongdi
 * @date: 2020-07-01 11:15
*/
public class Constants {
    //APP_SECRET
    public static final String APP_SECRET = "30c722c6acc64306a88dd93a814c9f0a";
    public static final String APP_API_VERSION = "1.0";
    public static final String WEB_TITLE = "商品管理系统";

    /*
    //图片从nginx访问时的host
    public static final String IMAGES_URL_HOST = "http://127.0.0.1:81/goods";
    //默认原始图片的路径
    public static final String IMAGES_ORIG_DIR = "/data/file/html/goods/images";
    //缩略图的文件路径
    public static final String IMAGES_TMB_DIR = "/data/file/html/goods/tmb";

    //contents图片从nginx访问时的host
    public static final String CONTENTS_URL_HOST = "http://127.0.0.1:81/content";
    //content默认原始图片的路径
    public static final String CONTENTS_ORIG_DIR = "/data/file/html/content/images";
    //content缩略图的文件路径
    public static final String CONTENTS_TMB_DIR = "/data/file/html/content/tmb";

    //attr图片从nginx访问时的host
    public static final String ATTR_URL_HOST = "http://127.0.0.1:81/attr";
    //attr默认原始图片的路径
    public static final String ATTR_ORIG_DIR = "/data/file/html/attr/images";
    //attr缩略图的文件路径
    public static final String ATTR_TMB_DIR = "/data/file/html/attr/tmb";
    */
    //缩略图的长边长度
    public static final String IMAGES_TMB_LONG = "300";
    //分页显示时每页的显示数量
    public static final int IMAGES_PAGE_SIZE = 5;

}